package com.weaver.openapi.pojo;

public class ApiResult<T> extends MessageResult
{
    private String code;
    private String msg;
    private boolean status;
    private T data;
    private boolean fail;
    
    public boolean isFail() {
        return this.fail;
    }
    
    public void setFail(final boolean fail) {
        this.fail = fail;
    }
    
    public String getCode() {
        return this.code;
    }
    
    public void setCode(final String code) {
        this.code = code;
    }
    
    public String getMsg() {
        return this.msg;
    }
    
    public void setMsg(final String msg) {
        this.msg = msg;
    }
    
    public boolean isStatus() {
        return this.status;
    }
    
    public void setStatus(final boolean status) {
        this.status = status;
    }
    
    public T getData() {
        return this.data;
    }
    
    public void setData(final T data) {
        this.data = data;
    }
}
